import Http from '../http';

export async function paymentParamsApi(params:{[key:string]:any}) {
    let res = await Http.post('order/payOrder/pay', {...params, payMethod : process.env.TARO_ENV === 'weapp' ? 'wechat' : 'alipay'})
    return res
}